<?php
//购物车公共信息
$arr = [1=>'购物车',2=>'结算页',3=>'支付页'];
?>
<div class="header-shop">
  <h1 class="logo left icon icon-logo-shop"><a href="<?=\Yii::$app->urlManager->createUrl(['index'])?>">有试吗</a></h1>
  <div class="page-title left"><?=$arr[$step];?></div>
  <div class="shop-steps right">
    <div class="icon icon-shop-step<?=$step;?>"></div>
    <div class="shop-steps-name"><span <?php if($step == 1):?>class="cur"<?php endif;?>>我的购物车</span> <span <?php if($step == 2):?>class="cur"<?php endif;?>>填写核对订单信息</span> <span <?php if($step == 3):?>class="cur"<?php endif;?>>支付信息</span></div>
  </div>
</div>